.class public Lcom/waiqin365/lightapp/diaobodan/b/a/k;
.super Lcom/waiqin365/lightapp/diaobodan/b/d;


# instance fields
.field public b:Ljava/lang/String;

.field public c:Ljava/lang/String;

.field public d:Ljava/lang/String;

.field public e:Ljava/lang/String;

.field public f:I

.field public g:I

.field public h:I

.field public i:Ljava/util/List;


# direct methods
.method public constructor <init>()V
    .locals 1

    const/16 v0, 0x7c

    invoke-direct {p0, v0}, Lcom/waiqin365/lightapp/diaobodan/b/d;-><init>(I)V

    new-instance v0, Ljava/util/ArrayList;

    invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V

    iput-object v0, p0, Lcom/waiqin365/lightapp/diaobodan/b/a/k;->i:Ljava/util/List;

    return-void
.end method


# virtual methods
.method public a(Ljava/lang/String;)Z
    .locals 12

    :try_start_0
    new-instance v0, Lorg/json/JSONObject;

    invoke-direct {v0, p1}, Lorg/json/JSONObject;-><init>(Ljava/lang/String;)V

    const-string/jumbo v1, "code"

    invoke-virtual {v0, v1}, Lorg/json/JSONObject;->has(Ljava/lang/String;)Z

    move-result v1

    if-eqz v1, :cond_6

    const-string/jumbo v1, "code"

    invoke-virtual {v0, v1}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v1

    iput-object v1, p0, Lcom/waiqin365/lightapp/diaobodan/b/a/k;->b:Ljava/lang/String;

    const-string/jumbo v1, "1"

    iget-object v2, p0, Lcom/waiqin365/lightapp/diaobodan/b/a/k;->b:Ljava/lang/String;

    invoke-virtual {v1, v2}, Ljava/lang/String;->equalsIgnoreCase(Ljava/lang/String;)Z

    move-result v1

    if-eqz v1, :cond_7

    const-string/jumbo v1, "totalPage"

    invoke-virtual {v0, v1}, Lorg/json/JSONObject;->has(Ljava/lang/String;)Z

    move-result v1

    if-eqz v1, :cond_0

    const-string/jumbo v1, "totalPage"

    invoke-virtual {v0, v1}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v1

    const/4 v2, 0x0

    invoke-static {v1, v2}, Lcom/fiberhome/gaea/client/d/k;->a(Ljava/lang/String;I)I

    move-result v1

    iput v1, p0, Lcom/waiqin365/lightapp/diaobodan/b/a/k;->g:I

    :cond_0
    const-string/jumbo v1, "total"

    invoke-virtual {v0, v1}, Lorg/json/JSONObject;->has(Ljava/lang/String;)Z

    move-result v1

    if-eqz v1, :cond_1

    const-string/jumbo v1, "total"

    invoke-virtual {v0, v1}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v1

    const/4 v2, 0x0

    invoke-static {v1, v2}, Lcom/fiberhome/gaea/client/d/k;->a(Ljava/lang/String;I)I

    move-result v1

    iput v1, p0, Lcom/waiqin365/lightapp/diaobodan/b/a/k;->h:I

    :cond_1
    const-string/jumbo v1, "plan_verify_num"

    invoke-virtual {v0, v1}, Lorg/json/JSONObject;->has(Ljava/lang/String;)Z

    move-result v1

    if-eqz v1, :cond_2

    const-string/jumbo v1, "plan_verify_num"

    invoke-virtual {v0, v1}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v1

    const/4 v2, 0x0

    invoke-static {v1, v2}, Lcom/fiberhome/gaea/client/d/k;->a(Ljava/lang/String;I)I

    move-result v1

    iput v1, p0, Lcom/waiqin365/lightapp/diaobodan/b/a/k;->f:I

    :cond_2
    const-string/jumbo v1, "cur_date_time"

    invoke-virtual {v0, v1}, Lorg/json/JSONObject;->has(Ljava/lang/String;)Z

    move-result v1

    if-eqz v1, :cond_3

    const-string/jumbo v1, "cur_date_time"

    invoke-virtual {v0, v1}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v1

    iput-object v1, p0, Lcom/waiqin365/lightapp/diaobodan/b/a/k;->d:Ljava/lang/String;

    :cond_3
    const-string/jumbo v1, "op_codes"

    invoke-virtual {v0, v1}, Lorg/json/JSONObject;->has(Ljava/lang/String;)Z

    move-result v1

    if-eqz v1, :cond_4

    const-string/jumbo v1, "op_codes"

    invoke-virtual {v0, v1}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v1

    iput-object v1, p0, Lcom/waiqin365/lightapp/diaobodan/b/a/k;->e:Ljava/lang/String;

    :cond_4
    const-string/jumbo v1, "data"

    invoke-virtual {v0, v1}, Lorg/json/JSONObject;->has(Ljava/lang/String;)Z

    move-result v1

    if-eqz v1, :cond_30

    const-string/jumbo v1, "data"

    invoke-virtual {v0, v1}, Lorg/json/JSONObject;->getJSONArray(Ljava/lang/String;)Lorg/json/JSONArray;

    move-result-object v4

    if-eqz v4, :cond_30

    const/4 v0, 0x0

    move v3, v0

    :goto_0
    invoke-virtual {v4}, Lorg/json/JSONArray;->length()I

    move-result v0

    if-ge v3, v0, :cond_30

    invoke-virtual {v4, v3}, Lorg/json/JSONArray;->getJSONObject(I)Lorg/json/JSONObject;

    move-result-object v5

    new-instance v6, Lcom/waiqin365/lightapp/diaobodan/c/c;

    invoke-direct {v6}, Lcom/waiqin365/lightapp/diaobodan/c/c;-><init>()V

    const-string/jumbo v0, "id"

    invoke-virtual {v5, v0}, Lorg/json/JSONObject;->has(Ljava/lang/String;)Z

    move-result v0

    if-eqz v0, :cond_9

    const-string/jumbo v0, "id"

    invoke-virtual {v5, v0}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    :goto_1
    iput-object v0, v6, Lcom/waiqin365/lightapp/diaobodan/c/c;->a:Ljava/lang/String;

    const-string/jumbo v0, "code"

    invoke-virtual {v5, v0}, Lorg/json/JSONObject;->has(Ljava/lang/String;)Z

    move-result v0

    if-eqz v0, :cond_a

    const-string/jumbo v0, "code"

    invoke-virtual {v5, v0}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    :goto_2
    iput-object v0, v6, Lcom/waiqin365/lightapp/diaobodan/c/c;->b:Ljava/lang/String;

    const-string/jumbo v0, "from_storehouse_id"

    invoke-virtual {v5, v0}, Lorg/json/JSONObject;->has(Ljava/lang/String;)Z

    move-result v0

    if-eqz v0, :cond_b

    const-string/jumbo v0, "from_storehouse_id"

    invoke-virtual {v5, v0}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    :goto_3
    iput-object v0, v6, Lcom/waiqin365/lightapp/diaobodan/c/c;->c:Ljava/lang/String;

    const-string/jumbo v0, "from_storehouse_name"

    invoke-virtual {v5, v0}, Lorg/json/JSONObject;->has(Ljava/lang/String;)Z

    move-result v0

    if-eqz v0, :cond_c

    const-string/jumbo v0, "from_storehouse_name"

    invoke-virtual {v5, v0}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    :goto_4
    iput-object v0, v6, Lcom/waiqin365/lightapp/diaobodan/c/c;->d:Ljava/lang/String;

    const-string/jumbo v0, "from_storehouse_type"

    invoke-virtual {v5, v0}, Lorg/json/JSONObject;->has(Ljava/lang/String;)Z

    move-result v0

    if-eqz v0, :cond_d

    const-string/jumbo v0, "from_storehouse_type"

    invoke-virtual {v5, v0}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    :goto_5
    iput-object v0, v6, Lcom/waiqin365/lightapp/diaobodan/c/c;->e:Ljava/lang/String;

    const-string/jumbo v0, "to_storehouse_id"

    invoke-virtual {v5, v0}, Lorg/json/JSONObject;->has(Ljava/lang/String;)Z

    move-result v0

    if-eqz v0, :cond_e

    const-string/jumbo v0, "to_storehouse_id"

    invoke-virtual {v5, v0}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    :goto_6
    iput-object v0, v6, Lcom/waiqin365/lightapp/diaobodan/c/c;->f:Ljava/lang/String;

    const-string/jumbo v0, "to_storehouse_name"

    invoke-virtual {v5, v0}, Lorg/json/JSONObject;->has(Ljava/lang/String;)Z

    move-result v0

    if-eqz v0, :cond_f

    const-string/jumbo v0, "to_storehouse_name"

    invoke-virtual {v5, v0}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    :goto_7
    iput-object v0, v6, Lcom/waiqin365/lightapp/diaobodan/c/c;->g:Ljava/lang/String;

    const-string/jumbo v0, "to_storehouse_type"

    invoke-virtual {v5, v0}, Lorg/json/JSONObject;->has(Ljava/lang/String;)Z

    move-result v0

    if-eqz v0, :cond_10

    const-string/jumbo v0, "to_storehouse_type"

    invoke-virtual {v5, v0}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    :goto_8
    iput-object v0, v6, Lcom/waiqin365/lightapp/diaobodan/c/c;->h:Ljava/lang/String;

    const-string/jumbo v0, "num"

    invoke-virtual {v5, v0}, Lorg/json/JSONObject;->has(Ljava/lang/String;)Z

    move-result v0

    if-eqz v0, :cond_11

    const-string/jumbo v0, "num"

    invoke-virtual {v5, v0}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    :goto_9
    iput-object v0, v6, Lcom/waiqin365/lightapp/diaobodan/c/c;->i:Ljava/lang/String;

    const-string/jumbo v0, "date"

    invoke-virtual {v5, v0}, Lorg/json/JSONObject;->has(Ljava/lang/String;)Z

    move-result v0

    if-eqz v0, :cond_12

    const-string/jumbo v0, "date"

    invoke-virtual {v5, v0}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    :goto_a
    iput-object v0, v6, Lcom/waiqin365/lightapp/diaobodan/c/c;->s:Ljava/lang/String;

    const-string/jumbo v0, "remark"

    invoke-virtual {v5, v0}, Lorg/json/JSONObject;->has(Ljava/lang/String;)Z

    move-result v0

    if-eqz v0, :cond_13

    const-string/jumbo v0, "remark"

    invoke-virtual {v5, v0}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    :goto_b
    iput-object v0, v6, Lcom/waiqin365/lightapp/diaobodan/c/c;->t:Ljava/lang/String;

    const-string/jumbo v0, "submit_time"

    invoke-virtual {v5, v0}, Lorg/json/JSONObject;->has(Ljava/lang/String;)Z

    move-result v0

    if-eqz v0, :cond_14

    const-string/jumbo v0, "submit_time"

    invoke-virtual {v5, v0}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    :goto_c
    iput-object v0, v6, Lcom/waiqin365/lightapp/diaobodan/c/c;->j:Ljava/lang/String;

    const-string/jumbo v0, "submit_name"

    invoke-virtual {v5, v0}, Lorg/json/JSONObject;->has(Ljava/lang/String;)Z

    move-result v0

    if-eqz v0, :cond_15

    const-string/jumbo v0, "submit_name"

    invoke-virtual {v5, v0}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    :goto_d
    iput-object v0, v6, Lcom/waiqin365/lightapp/diaobodan/c/c;->k:Ljava/lang/String;

    const-string/jumbo v0, "emp_name"

    invoke-virtual {v5, v0}, Lorg/json/JSONObject;->has(Ljava/lang/String;)Z

    move-result v0

    if-eqz v0, :cond_16

    const-string/jumbo v0, "emp_name"

    invoke-virtual {v5, v0}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    :goto_e
    iput-object v0, v6, Lcom/waiqin365/lightapp/diaobodan/c/c;->n:Ljava/lang/String;

    const-string/jumbo v0, "emp"

    invoke-virtual {v5, v0}, Lorg/json/JSONObject;->has(Ljava/lang/String;)Z

    move-result v0

    if-eqz v0, :cond_17

    const-string/jumbo v0, "emp"

    invoke-virtual {v5, v0}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    :goto_f
    iput-object v0, v6, Lcom/waiqin365/lightapp/diaobodan/c/c;->o:Ljava/lang/String;

    const-string/jumbo v1, "0"

    const-string/jumbo v0, "is_enable"

    invoke-virtual {v5, v0}, Lorg/json/JSONObject;->has(Ljava/lang/String;)Z

    move-result v0

    if-eqz v0, :cond_18

    const-string/jumbo v0, "is_enable"

    invoke-virtual {v5, v0}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    :goto_10
    invoke-virtual {v1, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    iput-boolean v0, v6, Lcom/waiqin365/lightapp/diaobodan/c/c;->m:Z

    const-string/jumbo v0, "confirm_status"

    invoke-virtual {v5, v0}, Lorg/json/JSONObject;->has(Ljava/lang/String;)Z

    move-result v0

    if-eqz v0, :cond_19

    const-string/jumbo v0, "confirm_status"

    invoke-virtual {v5, v0}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    :goto_11
    iput-object v0, v6, Lcom/waiqin365/lightapp/diaobodan/c/c;->p:Ljava/lang/String;

    const-string/jumbo v0, "confirm_emp_name"

    invoke-virtual {v5, v0}, Lorg/json/JSONObject;->has(Ljava/lang/String;)Z

    move-result v0

    if-eqz v0, :cond_1a

    const-string/jumbo v0, "confirm_emp_name"

    invoke-virtual {v5, v0}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    :goto_12
    iput-object v0, v6, Lcom/waiqin365/lightapp/diaobodan/c/c;->q:Ljava/lang/String;

    const-string/jumbo v0, "confirm_time"

    invoke-virtual {v5, v0}, Lorg/json/JSONObject;->has(Ljava/lang/String;)Z

    move-result v0

    if-eqz v0, :cond_1b

    const-string/jumbo v0, "confirm_time"

    invoke-virtual {v5, v0}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    :goto_13
    iput-object v0, v6, Lcom/waiqin365/lightapp/diaobodan/c/c;->r:Ljava/lang/String;

    const-string/jumbo v0, "modify_time"

    invoke-virtual {v5, v0}, Lorg/json/JSONObject;->has(Ljava/lang/String;)Z

    move-result v0

    if-eqz v0, :cond_1c

    const-string/jumbo v0, "modify_time"

    invoke-virtual {v5, v0}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    :goto_14
    iput-object v0, v6, Lcom/waiqin365/lightapp/diaobodan/c/c;->u:Ljava/lang/String;

    const-string/jumbo v0, "prods"

    invoke-virtual {v5, v0}, Lorg/json/JSONObject;->getJSONArray(Ljava/lang/String;)Lorg/json/JSONArray;

    move-result-object v7

    if-eqz v7, :cond_2a

    const/4 v0, 0x0

    move v2, v0

    :goto_15
    invoke-virtual {v7}, Lorg/json/JSONArray;->length()I

    move-result v0

    if-ge v2, v0, :cond_29

    invoke-virtual {v7, v2}, Lorg/json/JSONArray;->getJSONObject(I)Lorg/json/JSONObject;

    move-result-object v8

    if-eqz v8, :cond_5

    new-instance v9, Lcom/waiqin365/lightapp/product/d/d;

    invoke-direct {v9}, Lcom/waiqin365/lightapp/product/d/d;-><init>()V

    const-string/jumbo v0, "prod_id"

    invoke-virtual {v8, v0}, Lorg/json/JSONObject;->has(Ljava/lang/String;)Z

    move-result v0

    if-eqz v0, :cond_1d

    const-string/jumbo v0, "prod_id"

    invoke-virtual {v8, v0}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    :goto_16
    invoke-virtual {v9, v0}, Lcom/waiqin365/lightapp/product/d/d;->a(Ljava/lang/String;)V

    const-string/jumbo v0, "num"

    invoke-virtual {v8, v0}, Lorg/json/JSONObject;->has(Ljava/lang/String;)Z

    move-result v0

    if-eqz v0, :cond_1e

    const-string/jumbo v0, "num"

    invoke-virtual {v8, v0}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    const-wide/16 v10, 0x0

    invoke-static {v0, v10, v11}, Lcom/fiberhome/gaea/client/d/k;->a(Ljava/lang/String;D)D

    move-result-wide v0

    :goto_17
    invoke-static {v0, v1}, Ljava/lang/Double;->valueOf(D)Ljava/lang/Double;

    move-result-object v0

    invoke-virtual {v9, v0}, Lcom/waiqin365/lightapp/product/d/d;->b(Ljava/lang/Double;)V

    const-string/jumbo v0, "num_unit"

    invoke-virtual {v8, v0}, Lorg/json/JSONObject;->has(Ljava/lang/String;)Z

    move-result v0

    if-eqz v0, :cond_1f

    const-string/jumbo v0, "num_unit"

    invoke-virtual {v8, v0}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    :goto_18
    iput-object v0, v9, Lcom/waiqin365/lightapp/product/d/d;->f:Ljava/lang/String;

    const-string/jumbo v0, "input_unit"

    invoke-virtual {v8, v0}, Lorg/json/JSONObject;->has(Ljava/lang/String;)Z

    move-result v0

    if-eqz v0, :cond_20

    const-string/jumbo v0, "input_unit"

    invoke-virtual {v8, v0}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    :goto_19
    invoke-virtual {v9, v0}, Lcom/waiqin365/lightapp/product/d/d;->e(Ljava/lang/String;)V

    const-string/jumbo v0, "input_unit_name"

    invoke-virtual {v8, v0}, Lorg/json/JSONObject;->has(Ljava/lang/String;)Z

    move-result v0

    if-eqz v0, :cond_21

    const-string/jumbo v0, "input_unit_name"

    invoke-virtual {v8, v0}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    :goto_1a
    invoke-virtual {v9, v0}, Lcom/waiqin365/lightapp/product/d/d;->f(Ljava/lang/String;)V

    const-string/jumbo v0, "prod_name"

    invoke-virtual {v8, v0}, Lorg/json/JSONObject;->has(Ljava/lang/String;)Z

    move-result v0

    if-eqz v0, :cond_22

    const-string/jumbo v0, "prod_name"

    invoke-virtual {v8, v0}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    :goto_1b
    iput-object v0, v9, Lcom/waiqin365/lightapp/product/d/d;->a:Ljava/lang/String;

    const-string/jumbo v0, "spec"

    invoke-virtual {v8, v0}, Lorg/json/JSONObject;->has(Ljava/lang/String;)Z

    move-result v0

    if-eqz v0, :cond_23

    const-string/jumbo v0, "spec"

    invoke-virtual {v8, v0}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    :goto_1c
    iput-object v0, v9, Lcom/waiqin365/lightapp/product/d/d;->b:Ljava/lang/String;

    const-string/jumbo v0, "name_spec"

    invoke-virtual {v8, v0}, Lorg/json/JSONObject;->has(Ljava/lang/String;)Z

    move-result v0

    if-eqz v0, :cond_24

    const-string/jumbo v0, "name_spec"

    invoke-virtual {v8, v0}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    :goto_1d
    iput-object v0, v9, Lcom/waiqin365/lightapp/product/d/d;->c:Ljava/lang/String;

    const-string/jumbo v0, "prop_values"

    invoke-virtual {v8, v0}, Lorg/json/JSONObject;->has(Ljava/lang/String;)Z

    move-result v0

    if-eqz v0, :cond_25

    const-string/jumbo v0, "prop_values"

    invoke-virtual {v8, v0}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    :goto_1e
    iput-object v0, v9, Lcom/waiqin365/lightapp/product/d/d;->d:Ljava/lang/String;

    const-string/jumbo v0, "code"

    invoke-virtual {v8, v0}, Lorg/json/JSONObject;->has(Ljava/lang/String;)Z

    move-result v0

    if-eqz v0, :cond_26

    const-string/jumbo v0, "code"

    invoke-virtual {v8, v0}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    :goto_1f
    iput-object v0, v9, Lcom/waiqin365/lightapp/product/d/d;->h:Ljava/lang/String;

    const-string/jumbo v0, "brand"

    invoke-virtual {v8, v0}, Lorg/json/JSONObject;->has(Ljava/lang/String;)Z

    move-result v0

    if-eqz v0, :cond_27

    const-string/jumbo v0, "brand"

    invoke-virtual {v8, v0}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    :goto_20
    iput-object v0, v9, Lcom/waiqin365/lightapp/product/d/d;->j:Ljava/lang/String;

    const-string/jumbo v0, "barcode"

    invoke-virtual {v8, v0}, Lorg/json/JSONObject;->has(Ljava/lang/String;)Z

    move-result v0

    if-eqz v0, :cond_28

    const-string/jumbo v0, "barcode"

    invoke-virtual {v8, v0}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    :goto_21
    iput-object v0, v9, Lcom/waiqin365/lightapp/product/d/d;->i:Ljava/lang/String;

    iget-object v0, v6, Lcom/waiqin365/lightapp/diaobodan/c/c;->v:Ljava/util/List;

    invoke-interface {v0, v9}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    :cond_5
    add-int/lit8 v0, v2, 0x1

    move v2, v0

    goto/16 :goto_15

    :cond_6
    const/4 v0, 0x0

    :goto_22
    return v0

    :cond_7
    const-string/jumbo v1, "message"

    invoke-virtual {v0, v1}, Lorg/json/JSONObject;->has(Ljava/lang/String;)Z

    move-result v1

    if-eqz v1, :cond_8

    const-string/jumbo v1, "message"

    invoke-virtual {v0, v1}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    iput-object v0, p0, Lcom/waiqin365/lightapp/diaobodan/b/a/k;->c:Ljava/lang/String;

    :cond_8
    const/4 v0, 0x1

    goto :goto_22

    :cond_9
    const-string/jumbo v0, ""

    goto/16 :goto_1

    :cond_a
    const-string/jumbo v0, ""

    goto/16 :goto_2

    :cond_b
    const-string/jumbo v0, ""

    goto/16 :goto_3

    :cond_c
    const-string/jumbo v0, ""

    goto/16 :goto_4

    :cond_d
    const-string/jumbo v0, ""

    goto/16 :goto_5

    :cond_e
    const-string/jumbo v0, ""

    goto/16 :goto_6

    :cond_f
    const-string/jumbo v0, ""

    goto/16 :goto_7

    :cond_10
    const-string/jumbo v0, ""

    goto/16 :goto_8

    :cond_11
    const-string/jumbo v0, ""

    goto/16 :goto_9

    :cond_12
    const-string/jumbo v0, ""

    goto/16 :goto_a

    :cond_13
    const-string/jumbo v0, ""

    goto/16 :goto_b

    :cond_14
    const-string/jumbo v0, ""

    goto/16 :goto_c

    :cond_15
    const-string/jumbo v0, ""

    goto/16 :goto_d

    :cond_16
    const-string/jumbo v0, ""

    goto/16 :goto_e

    :cond_17
    const-string/jumbo v0, ""

    goto/16 :goto_f

    :cond_18
    const-string/jumbo v0, ""

    goto/16 :goto_10

    :cond_19
    const-string/jumbo v0, ""

    goto/16 :goto_11

    :cond_1a
    const-string/jumbo v0, ""

    goto/16 :goto_12

    :cond_1b
    const-string/jumbo v0, ""

    goto/16 :goto_13

    :cond_1c
    const-string/jumbo v0, ""

    goto/16 :goto_14

    :cond_1d
    const-string/jumbo v0, ""

    goto/16 :goto_16

    :cond_1e
    const-wide/16 v0, 0x0

    goto/16 :goto_17

    :cond_1f
    const-string/jumbo v0, ""

    goto/16 :goto_18

    :cond_20
    const-string/jumbo v0, ""

    goto/16 :goto_19

    :cond_21
    const-string/jumbo v0, ""

    goto/16 :goto_1a

    :cond_22
    const-string/jumbo v0, ""

    goto/16 :goto_1b

    :cond_23
    const-string/jumbo v0, ""

    goto/16 :goto_1c

    :cond_24
    const-string/jumbo v0, ""

    goto/16 :goto_1d

    :cond_25
    const-string/jumbo v0, ""

    goto/16 :goto_1e

    :cond_26
    const-string/jumbo v0, ""

    goto/16 :goto_1f

    :cond_27
    const-string/jumbo v0, ""

    goto/16 :goto_20

    :cond_28
    const-string/jumbo v0, ""

    goto/16 :goto_21

    :cond_29
    new-instance v0, Ljava/lang/StringBuilder;

    invoke-direct {v0}, Ljava/lang/StringBuilder;-><init>()V

    invoke-virtual {v7}, Lorg/json/JSONArray;->length()I

    move-result v1

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    move-result-object v0

    const-string/jumbo v1, ""

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v0

    iput-object v0, v6, Lcom/waiqin365/lightapp/diaobodan/c/c;->i:Ljava/lang/String;

    :cond_2a
    const-string/jumbo v0, "approve_flow"

    invoke-virtual {v5, v0}, Lorg/json/JSONObject;->getJSONArray(Ljava/lang/String;)Lorg/json/JSONArray;

    move-result-object v2

    if-eqz v2, :cond_2f

    const/4 v0, 0x0

    move v1, v0

    :goto_23
    invoke-virtual {v2}, Lorg/json/JSONArray;->length()I

    move-result v0

    if-ge v1, v0, :cond_2f

    invoke-virtual {v2, v1}, Lorg/json/JSONArray;->getJSONObject(I)Lorg/json/JSONObject;

    move-result-object v5

    if-eqz v5, :cond_2b

    new-instance v7, Lcom/waiqin365/lightapp/chexiao/c/b;

    invoke-direct {v7}, Lcom/waiqin365/lightapp/chexiao/c/b;-><init>()V

    const-string/jumbo v0, "approve_name"

    invoke-virtual {v5, v0}, Lorg/json/JSONObject;->has(Ljava/lang/String;)Z

    move-result v0

    if-eqz v0, :cond_2c

    const-string/jumbo v0, "approve_name"

    invoke-virtual {v5, v0}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    :goto_24
    iput-object v0, v7, Lcom/waiqin365/lightapp/chexiao/c/b;->a:Ljava/lang/String;

    const-string/jumbo v0, "approve_date"

    invoke-virtual {v5, v0}, Lorg/json/JSONObject;->has(Ljava/lang/String;)Z

    move-result v0

    if-eqz v0, :cond_2d

    const-string/jumbo v0, "approve_date"

    invoke-virtual {v5, v0}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    :goto_25
    iput-object v0, v7, Lcom/waiqin365/lightapp/chexiao/c/b;->b:Ljava/lang/String;

    const-string/jumbo v0, "approve_type"

    invoke-virtual {v5, v0}, Lorg/json/JSONObject;->has(Ljava/lang/String;)Z

    move-result v0

    if-eqz v0, :cond_2e

    const-string/jumbo v0, "approve_type"

    invoke-virtual {v5, v0}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    :goto_26
    iput-object v0, v7, Lcom/waiqin365/lightapp/chexiao/c/b;->c:Ljava/lang/String;

    iget-object v0, v6, Lcom/waiqin365/lightapp/diaobodan/c/c;->w:Ljava/util/List;

    invoke-interface {v0, v7}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    :cond_2b
    add-int/lit8 v0, v1, 0x1

    move v1, v0

    goto :goto_23

    :cond_2c
    const-string/jumbo v0, ""

    goto :goto_24

    :cond_2d
    const-string/jumbo v0, ""

    goto :goto_25

    :cond_2e
    const-string/jumbo v0, ""

    goto :goto_26

    :cond_2f
    iget-object v0, p0, Lcom/waiqin365/lightapp/diaobodan/b/a/k;->i:Ljava/util/List;

    invoke-interface {v0, v6}, Ljava/util/List;->add(Ljava/lang/Object;)Z
    :try_end_0
    .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0

    add-int/lit8 v0, v3, 0x1

    move v3, v0

    goto/16 :goto_0

    :catch_0
    move-exception v0

    const/4 v0, 0x0

    goto/16 :goto_22

    :cond_30
    const/4 v0, 0x1

    goto/16 :goto_22
.end method
